package com.fms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fms.dto.JsonRequest;
import com.fms.entity.Attendance;
import com.fms.vo.AttendanceInfoVO;
import com.fms.vo.AttendanceNumberVo;

import java.util.List;

public interface AttendanceService extends IService<Attendance> {
    AttendanceInfoVO getRecentAttendanceOfUser(String username);

    void attendedOfAttendance(JsonRequest.AttendedOfAttendanceRequest attendedOfAttendanceRequest);

    Page<AttendanceInfoVO> getAllAttendance(JsonRequest.AttendancePageRequest attendancePageRequest);

    List<AttendanceNumberVo> getNumber(JsonRequest.AttendanceNumberRequest attendanceNumberRequest);
}
